package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    //统计指定区间内营业额数据
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    //统计指定区间内用户数据
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    //统计指定区间内订单数据
    OrderReportVO getOrdersStatistics(LocalDate begin, LocalDate end);

    //查询销量排名top10
    SalesTop10ReportVO getsalesTop10Statistics(LocalDate begin, LocalDate end);

    //导出运营暑假报表
    void exportBusinessData(HttpServletResponse response);
}
